package Test_1031;

import java.util.List;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 */
public class Test {
    public static void main(String[] args) {
        MySingleList list=new MySingleList();
        list.display();
        System.out.println();
        list.addLast(13);
        list.display();
        list.addFirst(12);
        list.addFirst(23);
        list.addFirst(34);
        list.addFirst(45);
        list.addindex(2,56);
       list.display();
    }
}
